@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// 兼容IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}
@top-nav-header-prefix-cls: ~'@{ant-prefix}-pro-top-nav-header';

.mainRoot {
  :global {
    .ant-pro-top-nav-header-main  {
      width: 90%;
      margin: 0 auto;
      .ant-pro-top-nav-header-logo {
        position: relative;
        width: 205px;
        height: @layout-header-height;
        overflow: hidden;
        line-height: @layout-header-height;
        transition: all 0.3s;
        margin-right: 25px;
        img {
          display: inline-block;
          height: 42px;
          vertical-align: middle;
          margin-right: 5px;
        }
        h1 {
          display: inline-block;
          margin: 0 0 0 12px;
          color: '#000';
          font-weight: bold;
          font-size: 17px;
          vertical-align: top;
        }
      }
    }



    

    .ant-menu-item-selected {
      height: 100%;
      border-bottom: 4px solid #1890ff;
    }
      .ant-menu-item-selected:hover {
        height: 100%;
        border-bottom: 4px solid #1890ff;
    }

    
  }
}


 


